let express = require('express')
let app = new express()
let router=require('./router/index.js')
app.use(express.urlencoded({
    extended:false
}))
app.use(express.json())
app.use("/api", router)

app.listen(3000, () => {
    console.log("3000running");
})